package main.com.hu.spring5.config;


import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration // 将当前类作为配置类替代xml文件
@ComponentScan(basePackages = {"main.com.hu.spring5"}) // 开启组件扫描
public class SpringConfig {
}
